package com.es.mapper;

import com.es.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述:
 * MyBatis-
 *
 * @author Derek
 * 创建时间：2022-05-06 11:17
 */
public interface StudentMapper {
    Student get(Integer id);
    Student getByName(String name);
    List<Student> list(@Param("name") String name, @Param("id") Integer id);
    int update(Student student);
    int save(Map map);
    int create(Student student);
}
